package com.webtest.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.webtest.dao.BookMapper;
import com.webtest.dao.ShelfMapper;
import com.webtest.entity.Book;
import com.webtest.entity.Shelf;
import com.webtest.service.BookService;
import com.webtest.service.ShelfService;
import com.webtest.vo.SearchBooks;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShelfServiceImpl extends ServiceImpl<ShelfMapper, Shelf> implements ShelfService{

    @Autowired
    private ShelfMapper shelfMapper;

    @Override
    public List<Shelf> getAllShelf() {
        return shelfMapper.getAllShelf();
    }
}
